package day03;

public class IfElseDemo {
    public static void main(String[] args) {
        int a=6;


        if(a>10){
            a*=10;
        } else{
            a*=100;
        }
        System.out.println(a);
        double price=6000;
        if(price>500){
            price*=0.8;
        }else{
            price*=0.9;
        }
        System.out.println(price);


    }
}
